﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XMK.Tadong.WorkflowBiz.WorkFlow
{
    public class WorkFlowMessageStatusRule
    {
        /// <summary>
        /// 状态所属表
        /// </summary>
        public int TableID
        {
            get;
            set;
        }

        /// <summary>
        /// 消息状态源ID
        /// </summary>
        public  int FromMessageStatusID
        {
            get;
            set;
        }

        /// <summary>
        /// 消息状态源名称
        /// </summary>
        public string FromMessageStatusName
        {
            get;
            set;
        }

        /// <summary>
        /// 操作ID
        /// </summary>
        public int OperateID
        {
            get;
            set;
        }

        /// <summary>
        /// 操作名称
        /// </summary>
        public string OperateName
        {
            get;
            set;
        }

        /// <summary>
        /// 消息状态所驱动到的状态
        /// </summary>
        public int ToMessageStatusID
        {
            get;
            set;
        }

        /// <summary>
        /// 消息状态所驱动到的Name
        /// </summary>
        public string ToMessageStatusName
        {
            get;
            set;
        }

        /// <summary>
        /// 当前用户所属角色
        /// </summary>
        public string FromRoleID
        {
            get;
            set;
        }

        /// <summary>
        /// 驱动到的用户角色
        /// </summary>
        public string ToRoleID
        {
            get;
            set;
        }
    }
}
